package oa.hleast.xswl.pojo.form.questionnaire;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.xswl.common.config.NotBlank;

/**
 * @author: 302
 * @date: 2021-07-19 17:24:11
 * @description: 问卷问题答案表(QmsAnswer)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("问卷问题答案表Form实体类")
public class QmsAnswerForm {
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("问卷表ID")
    private Long questionnaireId;

    @ApiModelProperty("问题表ID")
    private Long problemId;

    @ApiModelProperty("答案")
    private String answer;

    @NotBlank
    @ApiModelProperty("分值")
    private String points;

    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty("删除标识  (0未删除 1已删除)")
    private Integer deleted;


}
